export default {
	/**
	 * 目录
	 */
	CATALOG: "CATALOG",

	/**
	 * 菜单
	 */
	MENU: "MENU",

	/**
	 * 按钮
	 */
	BUTTON: "BUTTON",

	/**
	 * 外链
	 */
	EXTLINK: "EXTLINK",

	/**
	 * 根节点ID
	 */
	ROOT_NODE_ID: "-1",

	/**
	 * 超级管理员角色编码
	 */
	ROOT_ROLE_CODE: "ROOT",

	/**
	 * 日志业务类型
	 */
	LOG_BUSINESS_TYPE: {
		"UN_KNOWN": { value: "Un_Known", label: "未知", type: "warning"},
		"SAVE": { value: "Save", label: "保存", type: "warning"},
		"REMOVE": { value: "Remove", label: "删除", type: "danger"},
		"PAGE_LIST": { value: "Page_List", label: "分页查询", type: "success"},
		"FILE_UPLOAD": { value: "File_Upload", label: "文件上传", type: "info"},
		"FILE_DOWNLOAD": { value: "File_Download", label: "文件下载", type: "info"},
	},

	/**
	 * 日志状态
	 */
	LOG_STATUS_TYPE: {
		true: { value: true, label: "成功", type: "success"},
		false: { value: false, label: "失败", type: "danger"},
	},

	/**
	 * 字典状态
	 */
	DICT_STATUS_TYPE: {
		true: { value: true, label: "启用", type: "success"},
		false: { value: false, label: "禁用", type: "danger"},
	},

	/**
	 * 单选题
	 */
	RADIO: 1,

	/**
	 * 多选题
	 */
	CHECK: 2,

	/**
	 * 判断题
	 */
	TRUE_FALSE: 3,

	/**
	 * 考试状态
	 */
	EXAM_STATUS: {
		true: { value: true, label: "有效", type: "success"},
		false: { value: false, label: "作废", type: "danger"},
	},

	/**
	 * 考试结果
	 */
	EXAM_RESULT: {
		1: { value: 1, label: "未交卷", type: "success"},
		2: { value: 2, label: "不及格", type: "danger"},
		3: { value: 3, label: "及格", type: "danger"},
	},

}
